﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Publicuse.Entity
{
    /// <summary>
    /// 操作柱形访问量（统计新增、删除、修改、导入操作记录数）
    /// </summary>
    public class Operate
    {
        public double addCount { get; set; } = 0;
        public double delCount { get; set; } = 0;
        public double updateCount { get; set; } = 0;
        public double importCount { get; set; } = 0;

        public List<string> xaxis = new List<string>();

        public List<double> series = new List<double>();
    }

    /// <summary>
    /// 模块综合访问量(模块对应的新增、删除、修改、导入)
    /// </summary>
    public class Websitetraffic
    {
        public List<seriesModel> series { get; set; } = new List<seriesModel>();

        public List<string> labels { get; set; } = new List<string>();
    }

    public class seriesModel
    {
        public string name { get; set; }

        /// <summary>
        /// 图表类型 column、area、line
        /// </summary>
        public string type { get; set; }
        public List<double> data { get; set; }
    }

    /// <summary>
    /// 模块扇形访问量
    /// </summary>
    public class Currenttraffic
    {
        public List<string> labels { get; set; } = new List<string>();
        public List<double> series { get; set; } = new List<double>();
    }

    /// <summary>
    /// 模块雷达访问量
    /// </summary>
    public class Radartraffic
    {
        public List<seriesModel> series { get; set; } = new List<seriesModel>();

        public List<string> categories { get; set; } = new List<string>();
    }

    /// <summary>
    /// 登录时间表
    /// </summary>
    public class LoginSchedule
    {
        public string uCode { get; set; }

        public string loginTime { get; set; }

        public string ipaddress { get; set; }
    }
}
